c program to calculate average of three number